* doc.c (Fsnarf_documentation): Initialize skip_file before build-files test.
authorJan D <jan.h.d@swipnet.se>
Fri, 13 Aug 2010 10:32:37 +0000 (12:32 +0200)
committerJan D <jan.h.d@swipnet.se>
Fri, 13 Aug 2010 10:32:37 +0000 (12:32 +0200)
src/ChangeLog
src/doc.c

index 7f0ba90e5fd0321e6d437cba52eb6f58f67f49d4..3058bc1a31667931dff352d0bb031e93eeb0fafe 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * doc.c (Fsnarf_documentation): Initialize skip_file before
+       build-files test.
+
 2010-08-09  Peter O'Gorman <pogma@thewrittenword.com>  (tiny change)
 
        * s/hpux10-20.h (HAVE_TERMIOS, NO_TERMIO, ORDINARY_LINK): New
index 303aed0486d38f8fd2fac0006365e6805b097ab1..6543eb41db195a1021a048c16b6ac0c54a4d58b4 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -644,6 +644,7 @@ the same file name is found in the `doc-directory'.  */)
       if (p != end)
        {
          end = (char *) index (p, '\n');
+          skip_file = 0;
 
           /* See if this is a file name, and if it is a file in build-files.  */
           if (p[1] == 'S' && end - p > 4 && end[-2] == '.'